<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>select选择器</title>
  <link rel="stylesheet" href="./select.css">
  <script src="./select.js"></script>
  <style></style>
</head>
<body>
  <div class="l-select">
    <input type="text" class="l-select-input" readonly placeholder="请选择">
    <div class="l-option">
      <div class="arrow"></div>
      <ul class="l-option-list">
        <li index="0">黄金糕</li>
        <li index="1">双皮奶</li>
        <li index="2">蚵仔煎</li>
        <li index="3">龙须面</li>
        <li index="4">北京烤鸭</li>
      </ul>
    </div>
  </di>
</body>
</html>